#ifndef PROTOCOL_H
#define PROTOCOL_H


void create_update_msg(unsigned char * reply_temp,int* len);
void creat_upgrade_msg(unsigned char* temdata,int* len,int pack_num,int current_pack_num,unsigned int version);
char hexconvertostring(unsigned char);
unsigned short receiveDataPakageProcess(unsigned char *p,unsigned short len);

#endif // PROTOCOL_H
